package com.weka.dbscan;

import java.io.File;

import weka.core.Instances;
import weka.core.converters.ArffLoader;

public class Test {
	public static void main(String[] args) {
		ArffLoader loader = new ArffLoader();
		Instances mInstances = null;
		DBSCAN dbscan=new DBSCAN();
		try {
			loader.setFile(new File("features_mscr_train.arff"));
			mInstances = loader.getDataSet();
			dbscan.buildClusterer(mInstances);
			System.out.println();
		} catch (Exception e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
}
